<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class=""><a href="{:Url('index')}">列表</a></li>
		<li class="active"><a href="#">编辑管理组</a></li>
	</ul>
	
	<form class="form-horizontal js-ajax-form" method="post" action="{:Url('edit_post')}">
		<div class="box-body mt10">
			<div class="form-group">
				<label class="col-sm-2 control-label">管理组名称 <span>*</span></label>
				<div class="col-sm-8">
					<input type="text" name="name" class="form-control" placeholder="管理组名称" value="{$row.name}" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">备注</label>
				<div class="col-sm-8">
					<textarea name="remark" rows="3" class="form-control" placeholder="备注">{$row.remark}</textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">状态</label>
				<div class="col-sm-2">
					<select name="status" class="form-control select2">
						<option value='1' {if condition="$row['status'] eq 1"}selected{/if}>开启</option>
						<option value='0' {if condition="$row['status'] eq 0"}selected{/if}>禁止</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">排序</label>
				<div class="col-sm-1">
					<input type="number" name="sort" min="0" class="form-control" placeholder="排序，默认0" value="{$row.sort}" size="16" />
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="id" value="{$row.id}" />
					<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
					<a class="btn btn-default">返回</a>
				</div>
			</div>
		</div>
    </form>

</div>